<template>
  <h1>首页</h1>
  <el-button type="primary">
    测试按钮
  </el-button>
  <p>{{ $store.state.count }}</p>
</template>
<script lang="ts" setup>
import { getLoginInfo } from '@/api/common'
import type { ILoginInfo } from '@/api/types/common'
import { onMounted, ref } from '@vue/runtime-core'

const list = ref<ILoginInfo['side']>([])
// const list = ref([])

onMounted(() => {
  getLoginInfo().then(data => {
    console.log('dsdddddddsssssssssss')
    console.log(data)
    list.value = data.slide
  })
})

</script>
<style lang='scss'>

body{
}
</style>
